// kX Driver / kX Driver Interface / kX Driver Effects Library
// Copyright (c) Eugene Gavrilov, 2001-2005.
// All rights reserved

/*
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program; if not, write to the Free Software
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 */

// 10kX microcode
// Patch name: 'fx_mix2'

const char *fx_mix2_copyright="Copyright (c) Eugene Gavrilov and Max Mikhailov, 2003-2004. All rights reserved";
const char *fx_mix2_engine="kX";
const char *fx_mix2_comment="v3; mixes 2 mono and 4 stereo sources; $nobypass";
const char *fx_mix2_created="09/19/2003";
const char *fx_mix2_guid="fa7c5e74-1b53-4ac3-b54f-93559e0018bf";

const char *fx_mix2_name="FXMix2";
int fx_mix2_itramsize=0,fx_mix2_xtramsize=0;

dsp_register_info fx_mix2_info[]={
	{ "in0_l",0x4000,0x7,0xffff,0x0 },
	{ "in0_r",0x4001,0x7,0xffff,0x0 },
	{ "in1_l",0x4002,0x7,0xffff,0x0 },
	{ "in1_r",0x4003,0x7,0xffff,0x0 },
	{ "in2_l",0x4004,0x7,0xffff,0x0 },
	{ "in2_r",0x4005,0x7,0xffff,0x0 },
	{ "in3_l",0x4006,0x7,0xffff,0x0 },
	{ "in3_r",0x4007,0x7,0xffff,0x0 },
	{ "in4_l",0x4008,0x7,0xffff,0x0 },
	{ "in4_r",0x4009,0x7,0xffff,0x0 },
	{ "in5_l",0x400a,0x7,0xffff,0x0 },
	{ "in5_r",0x400b,0x7,0xffff,0x0 },
	{ "mono_in1",0x400c,0x7,0xffff,0x0 },
	{ "mono_in2",0x400d,0x7,0xffff,0x0 },
	{ "out_l1",0x8000,0x8,0xffff,0x0 },
	{ "out_r1",0x8001,0x8,0xffff,0x0 },
	{ "out_l2",0x8002,0x8,0xffff,0x0 },
	{ "out_r2",0x8003,0x8,0xffff,0x0 },
	{ "In0Level",0x8004,0x4,0xffff,0x7fffffff },
	{ "In1Level",0x8005,0x4,0xffff,0xccccccd },
	{ "In2Level",0x8006,0x4,0xffff,0x7fffffff },
	{ "In3Level",0x8007,0x4,0xffff,0x7fffffff },
	{ "In4Level",0x8008,0x4,0xffff,0x7fffffff },
	{ "In5Level",0x8009,0x4,0xffff,0x7fffffff },
	{ "FX1",0x800a,0x4,0xffff,0x0 },
	{ "FX2",0x800b,0x4,0xffff,0x0 },
	{ "t1",0x800c,0x3,0xffff,0x0 },
	{ "t2",0x800d,0x3,0xffff,0x0 }
};

dsp_code fx_mix2_code[]={
	{ 0x0,0x800c,0x2040,0x4000,0x8004 },
	{ 0x0,0x800c,0x800c,0x4002,0x8005 },
	{ 0x0,0x800c,0x800c,0x4004,0x8006 },
	{ 0x0,0x800c,0x800c,0x4006,0x8007 },
	{ 0x0,0x800c,0x800c,0x4008,0x8008 },
	{ 0x0,0x800c,0x800c,0x400a,0x8009 },
	{ 0x0,0x800d,0x2040,0x800c,0x800a },
	{ 0x0,0x8000,0x800d,0x400c,0x800a },
	{ 0x0,0x800d,0x2040,0x800c,0x800b },
	{ 0x0,0x8002,0x800d,0x400d,0x800b },
	{ 0x0,0x800c,0x2040,0x4001,0x8004 },
	{ 0x0,0x800c,0x800c,0x4003,0x8005 },
	{ 0x0,0x800c,0x800c,0x4005,0x8006 },
	{ 0x0,0x800c,0x800c,0x4007,0x8007 },
	{ 0x0,0x800c,0x800c,0x4009,0x8008 },
	{ 0x0,0x800c,0x800c,0x400b,0x8009 },
	{ 0x0,0x800d,0x2040,0x800c,0x800a },
	{ 0x0,0x8001,0x800d,0x400c,0x800a },
	{ 0x0,0x800d,0x2040,0x800c,0x800b },
	{ 0x0,0x8003,0x800d,0x400d,0x800b }
};

